package com.whu.tcx01.hd.calNewRoad;


import java.util.List;

public class OutRoadBean {

    private long roadid;
    private long start;
    private long stop;
    private List<LineBean> lines;

    public long getRoadid() {
        return roadid;
    }

    public void setRoadid(long roadid) {
        this.roadid = roadid;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getStop() {
        return stop;
    }

    public void setStop(long stop) {
        this.stop = stop;
    }

    public List<LineBean> getLines() {
        return lines;
    }

    public void setLines(List<LineBean> lines) {
        this.lines = lines;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < lines.size(); i++){
            sb.append(lines.get(i).toString()).append("\t");
        }
        return  roadid + "\t" + start + "\t" + stop + "\t" + sb.toString();
    }
}
